export default{
  'ADDEVENT' (state, obj) {
    // console.log(state)
    // console.log(obj)
    // state.deviceName = obj.items.deviceName
    // state.deviceState = obj.items.deviceState
    state.deviceItem = obj.items
  },
  'STATEEVENT' (state, obj) {
    state.singleState = !state.singleState
  }
}
